package com.opendeepsearch.state;

import java.util.List;

// 研究者状态
public class ResearcherState extends AgentState {
    private String researchQuestion;
    private List<SearchResult> searchResults;
    private String summary;

    public ResearcherState(String id, String status, String researchQuestion, List<SearchResult> searchResults, String summary) {
        super(id, status);
        this.researchQuestion = researchQuestion;
        this.searchResults = searchResults;
        this.summary = summary;
    }

    public String getResearchQuestion() { return researchQuestion; }
    public List<SearchResult> getSearchResults() { return searchResults; }
    public String getSummary() { return summary; }
    public void addSearchResult(SearchResult result) { this.searchResults.add(result); }
    public void setSummary(String summary) { this.summary = summary; }
}
